package hust.hiepdv.javaproject.model;


public class Line {
	
	int x1, y1;
	int x2, y2;
	
	public Line(int x1, int y1, int x2, int y2){
		this.x1 = x1;
		this.y1 = y1;
		this.x2 = y2;
		this.y2 = x2;
	}
	
	public boolean isVertical(){
		return (x1 == x2);
	}
	
	public boolean isHorizontal(){
		return (y1 == y2);
	}
	
}
